ensuring no halation occurs